<?php
namespace app\index\controller;
use think\paginate;
use think\Controller;
use think\Db;
    class Goodproject extends Controller 
    {
        public function goodproject()
        {   
            $date=Db::table('project')->field('proDescrip,ProjNam,ProjImg')->paginate(6);
            //dump($date);
            $this->assign('list',$date);

            return $this->fetch('goodproject/goodproject');
        }
    }
?>